package org.example.dto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.example.entity.SysDept;

import java.util.Date;
import java.util.List;

@Data
public class DeptDto extends SysDept {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
//    private Long parentId;
    private Integer orderNum;
//    private String createBy;
    private Date createTime;
    private Integer parentId;
    private List<Integer> parents;
    private String createBy;


}
